Total Complexity | 31 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 286 |
Lines of code | 96 |
Logical lines of code | 56 |
Comment lines | 67 |
Methods | 10 |
Properties | 8 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
check_script_types() | 59 | 4 | 13 | |
convert_inline_to_base64() | 61 | 4 | 11 | |
optimize_scripts() | 59 | 3 | 15 | |
remove_excluded_scripts() | 63 | 4 | 10 | |
__construct() | 65 | 3 | 8 | |
replace_comments_with_placeholders() | 63 | 3 | 10 | |
replace_placeholders_with_comments() | 66 | 3 | 8 | |
add_defer_attribute() | 64 | 3 | 9 | |
find_scripts_without_defer() | 70 | 2 | 6 | |
move_scripts() | 69 | 2 | 6 |